const { merge } = require('webpack-merge')
const common = require('./webpack.common')
const path = require('path')

module.exports = merge(common, {
    mode: 'development',
    watch: true,
    devServer: {
        hot: true,
        contentBase: path.join(__dirname, 'dist'),
        port: 9000,
    },
})